/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package bolao.exception;

import javax.ejb.ApplicationException;

/**
 *
 * @author 
 */
@ApplicationException(rollback=true)
public class ServiceException extends RuntimeException {

    /**
     * Creates a new instance of <code>ServiceException</code> without detail message.
     */
    public ServiceException() {
    }


    /**
     * Constructs an instance of <code>ServiceException</code> with the specified detail message.
     * @param msg the detail message.
     */
    public ServiceException(String msg) {
        super(msg);
    }

    public ServiceException(String message, Throwable cause) {
        super(message, cause);
    }



}
